package com.xiaoshuidi.cloud.module.member.convert.invite;

import com.xiaoshuidi.cloud.module.member.controller.admin.invite.vo.InviteActivityConfigVo;
import com.xiaoshuidi.cloud.module.member.pojo.invite.InviteActivityConfigEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface InviteActivityConvert {

    InviteActivityConvert INSTANCE = Mappers.getMapper(InviteActivityConvert.class);

    InviteActivityConfigVo convert(InviteActivityConfigEntity entity);

    InviteActivityConfigEntity convert(InviteActivityConfigVo vo);

}
